package com.ruicar.afs.cloud.afscase.channel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruicar.afs.cloud.afscase.channel.entity.ChannelAffiliatedUnits;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-26 23:14
 */
public interface ChannelAffiliatedUnitsMapper extends BaseMapper<ChannelAffiliatedUnits> {
    /**
     * 根据条件查询挂靠列表
     *
     * @param channelId
     * @param affiliatedType
     * @param affUnitsName
     * @return ChannelAffiliatedUnitsTemp
     */
    List<ChannelAffiliatedUnits> getAffiliationInfo(@Param("channelId") Long channelId, @Param("affiliatedType") String affiliatedType, @Param("affUnitsName") String affUnitsName);

    /**
     * 根据条件查询网约车合作平台
     *
     * @param socUniCrtCode
     * @return ChannelAffiliatedUnitsTemp
     */
    List getCooperPlatList(@Param("socUniCrtCode") String socUniCrtCode);

}
